package hcn.protocol.brandnew.dengji.menzhenyuyue;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 门诊预约信息更新-消息请求 - ODS_02040013
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class AppointmentPayCancelRequest extends BaseRequest {

    /**
     * 预约信息
     */
    @XmlElement(name = "Query")
    private Query query;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Query {

        /**
         * 就诊医疗机构组织机构代码
         */
        @XmlElement(name = "VisitOrganization")
        private String visitOrganization;
        /**
         * 资源池排班类型
         */
        @XmlElement(name = "OutpatientType")
        private Byte outpatientType;
        /**
         * 预约ID
         */
        @XmlElement(name = "AppointmentId")
        private String appointmentId;

        /**
         * 预约Id
         */
        @XmlElement(name = "AppointsId")
        private String appointsId;
        /**
         * 取消人
         */
        @XmlElement(name = "CancelOperator")
        private String cancelOperator;

        /**
         * 渠道编号
         */
        @XmlElement(name = "ChannelCode")
        private String channelCode;
        /**
         * 医生排班流水号（排班标识）
         */
        @XmlElement(name = "ScheduleMark")
        private String scheduleMark;
        /**
         * 资源ID
         */
        @XmlElement(name = "ResourcesId")
        private String resourcesId;
        /**
         * 申请医生
         */
        @XmlElement(name = "RequestDoctor")
        private String requestDoctor;
        /**
         * 取消原因
         */
        @XmlElement(name = "RefundReason")
        private String refundReason;
    }

}
